/*
@import url(http://fonts.googleapis.com/css?family=Aldrich);
@import url(http://fonts.googleapis.com/css?family=Open+Sans);
*/

/* REGOLE PER VERSIONE DARK */

.dark .navbar-default .navbar-brand,
.dark #user_menu a,
.dark .dashboard_container .dashboard_item a,
.dark .content,
.dark .content .pagination li a,
.dark .action_button,
.dark .item_operation,
.dark #user_menu .user_detail .logout a {
	color: whitesmoke;
}
.dark #user_menu:hover,
.dark .dashboard_container .dashboard_item:hover{
	background-color: whitesmoke;
}
.dark .navbar-default .navbar-collapse, .dark .navbar-default .navbar-form {
	background-color: #333;
}
.dark .main_container,
.dark .panel {
	background-color: #333;
}
body.dark {
	color: #333;
}

/* FIXME perchè è stata messa questa regola??? Perche' così col tema dark si scuriscono anche gli input ;) */
input {
	background: transparent !important;
}
div.ngGrid {
	background: transparent;
}
.dark .ngRow.odd {
	background: #444;
}
.dark .ngRow.even {
	background: #777;
}
.dark .ngTopPanel,
.dark .ngGroupPanel,
.dark .ngFooterPanel {
	background: #333;
}

/* FINE REGOLE PER VERSIONE DARK */


/* stile per integrare meglio il multiselect, rendendolo uniforme col resto degli input */
span.form-control.multiSelect.inlineBlock.ng-isolate-scope {
	padding: 0;
	width:100%;
}

button.button.multiSelectButton.ng-binding {
	width:100%;
	border:none;
}
/* end */

html, body{
	margin: 0;
	padding: 0;
}
body{
	overflow-x: hidden;
}

a{
	text-decoration: none;
}
a img{
	border: none;
}

header{
	height: 40px;
	line-height: 40px;
}

.container-fluid{
	height: 100%;
	min-height: 50px;
}

.panel-group .panel {
	overflow: visible !important;
}

.navbar-default{
	box-shadow: 0 1px 1px #FF9933;
	min-height: 50px;
}
.navbar-default .navbar-brand{
	color: #333;
	text-shadow: 0 1px 1px #FF9933;
	font-size: 24px;
	font-family: 'Aldrich', sans-serif;
	min-height: 50px;
}
#user_menu{
	min-height: 50px;
	line-height: 50px;
	font-family: 'Aldrich', sans-serif;
	background-color: #FF9933;
	text-align: center;
	width: auto;
}
#user_menu a{
	display: block;
	height: 100%;
	line-height: 50px;
	width: 100%;
	color: #333;
	font-size: 16px;
	cursor: pointer;
}
#user_menu a:hover, #user_menu a:active, #user_menu a:focus, #user_menu a:visited{
	text-decoration: none;
}
#user_menu_key:hover{
	background-color: #333;
	color: #FF9933;
}

.sidebar{
	position: fixed;
	top: 50px;
	left: -140px;
	width: 150px;
	height: 100%;
	border-right: 1px solid #333;
	background-color: #333;
	font-family: 'Aldrich', sans-serif;
	z-index: 1000;
}
.sidebar ul{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}
.sidebar ul li{
	width: 100%;
	height: 100px;
	border-bottom: 1px solid #3a3a3a;
}
.sidebar ul li a{
	color: #FF9933;
	display: block;
	width: 100%;
	height: 100%;
	text-align: center;
	padding: 0;
}
.sidebar ul li.active, .sidebar ul li:hover{
	background-color: #FF9933;
}
.sidebar ul li.active a, .sidebar ul li:hover a, .sidebar ul li.active a:hover, .sidebar ul li.active a:focus, .sidebar ul li.active a:active, .sidebar ul li.active a:visited{
	color: #333;
	background-color: #FF9933;
	border: none;
}
.sidebar ul li a span{
	display: block;
	clear: both;
	width: 100%;
	position: relative;
	text-align: center;
}
.sidebar ul li a .menu_item_icon{
	height: 70px;
	line-height: 70px;
	font-size: 48px;
}
.sidebar ul li a .menu_item_title{
	height: 30px;
	line-height: 30px;
	font-size: 16px;
}

.main_container{
	width: 100%;
	clear: both;
	padding: 50px 20px;
}

.dashboard_container{
	position: relative;
	margin: 30px auto;
	width: 902px;
	height: 402px;
}

@media screen and (max-width: 902px) {
body {background:red;}
}

.dashboard_container .dashboard_item{
	width: 450px;
	height: 200px;
	float: left;
	margin: 0;
	background-color: #FF9933;
	border-left: 1px solid #3a3a3a;
	border-bottom: 1px solid #3a3a3a;
	box-shadow: 0 1px 1px #333;
}
.dashboard_container .dashboard_item a{
	display: block;
	width: 100%;
	height: 100%;
	color: #333;
}
.dashboard_container .dashboard_item:hover{
	background-color: #333;
	box-shadow: 0 1px 1px #FF9933;
}
.dashboard_container .dashboard_item:hover a{
	color: #FF9933;
}
.dashboard_container .dashboard_item a:hover{
	text-decoration: none;
}

.dashboard_container .dashboard_item a span{
	display: block;
	clear: both;
	width: 100%;
	text-align: center;
}
.dashboard_container .dashboard_item a .item_icon{
	height: 150px;
	line-height: 150px;
	font-size: 64px;
}
.dashboard_container .dashboard_item a .item_title{
	height: 50px;
	line-height: 50px;
	font-size: 18px;
	text-transform: uppercase;
	font-family: 'Aldrich', sans-serif;
}

.adsense{
	margin: 10px auto 0;
	width: 902px;
	height: 100px;
	border: 1px inset #333;
	text-align: center;
}
.adsense img{
	width: 100%;
	height: auto;
}

.content{
	max-width: 1000px;
	margin: 20px auto;
	font-family: 'Open sans', sans-serif;
	font-size: 13px;
	color: #333;
}
.content h3{
	font-family: 'Aldrich', sans-serif;
	border-bottom: 1px solid #FF9933;
	margin-bottom: 12px;
}
.content .page_title{
	font-family: 'Aldrich', sans-serif;
	font-size: 16px;
	width: 60%;
}

.content .pagination, .content .pagination ul, .content .table {
	margin-top: 0;
	margin-bottom: 0;
}
.content .pagination {
	margin-top: 5px;
}

.content .pagination li a{
	color: #333;
}
.content .pagination li.active{
	background-color: #333;
}
.content .pagination li.active a{
	background-color: #333;
	border-color: #333;
	color: #FF9933;
}

.content .pagination li {
	display: inline-block;
	padding: 8px;
	border-radius: 4px;
	-moz-border-radius: 4px;
}
.content .pagination li.disabled a {
	color: #999;
}
.content .pagination li.disabled a:hover {
	text-decoration: none;
}

.standard_button{
	padding: 9px 12px;
}

.form_field{
	float: left;
	width: 48%;
	margin: 1%;
}
.form_field select {
	-webkit-appearance: none;
}

div.input-group.search_form.form_field {
	width: 100%;
	margin: 0;
}
.first_field{
	margin-left: 0;
	clear: left;
}
.small_field{
	width: 20%;
}
.full_field{
	width: 98%;
}
.action_button{
	margin: 1% 5%;
	font-size: 20px;
	display: inline-block;
	vertical-align: bottom;
	color: #333;
	cursor: pointer;
	margin-top:6px;
}
.action_button:hover{
	color: #FF9933;
	text-decoration: none;
}

.form_button input, .form_button button{
	text-transform: uppercase;
	background-color: #FF9933;
	background-image: linear-gradient(to bottom, #fff 0px, #FF9933 100%);
	font-weight: bold;
	float: right;
	margin: 0 2%;
}
.form_button input:hover, .form_button button:hover,
.form_button input:focus, .form_button button:focus{
	background-color: #FF9933;
}

.form-control:focus{
	border-color: #FF9933;
	box-shadow: 0 0 1px #FF9933;
}

input.numeric_field{
	text-align: right;
}

.item_operation{
	color: #333;
}
.item_operation:hover, .item_operation:active, .item_operation:visited{
	color: #FF9933;
}

/* user detail */
#user_menu .user_detail{
	background-color: #FF9933;
	padding: 0;
	width: 220px;
}
#user_menu .user_detail .logout{
	float: left;
	width: 100%;
	clear: left;
	text-align: right;
	border-bottom: 1px inset #333;
}
#user_menu .user_detail .logout a{
	color: #333;
	padding: 0;
	position: relative;
}
#user_menu .user_detail .logout a > .fa {
	position: absolute;
	width: 14%;
	top: 50%;
	line-height: 1rem;
	margin-top: -0.5rem;
	right: 0;
	text-align: center;
}
#user_menu .user_detail .logout a > div {
	width: 86%;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
#user_menu .user_detail .logout:hover{
	background-color: #333;
}
#user_menu .user_detail .logout:hover a{
	color: #FF9933;
}

#user_menu .user_profile{
	float: left;
	clear: both;
	padding: 0 20px;
	width: 100%;
	text-align: left;
	border-top: 1px solid #333;
}
#user_menu .user_profile .edit_user_info{
	float: left;
	width: 100%;
	clear: both;
	padding: 10px 0;
}
#user_menu .user_profile .edit_user_info .form-control:focus{
	border-color: #333;
	box-shadow: 0 0 1px #333;
}
#user_menu .user_profile .edit_user_info #edit_user{
	background-color: #333333;
	background-image: none;
	border: 1px solid #FF9933;
	color: #FF9933;
	float: right;
	font-weight: bold;
	text-shadow: none;
	text-transform: uppercase;
	width: 100px;
}

.ngGrid div.progress {
	margin-left:2%;
	margin-right:2%;
}

a.accordion-toggle {
	cursor: pointer;
}

/* Invoice preview */
.invoice_container{
	margin-top: 50px;
	padding: 15px;
}
.invoice_action{
	text-transform: uppercase;
	background-color: #FF9933;
	background-image: linear-gradient(to bottom, #fff 0px, #FF9933 100%);
	font-family: 'Aldrich', sans-serif;
	font-weight: bold;
}
.invoice_action:hover{
	background-color: #FF9933;
}

.invoice_loader{
	width: 100%;
	padding: 50px;
	height: 128px;
	text-align: center;
}
.invoice_loader img{
	width: 128px;
	height: 128px;
}